/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.Date;
import java.util.List;

/**
 *
 * @author Nhang Con
 */
public class PackageTour {

    private int packageTourID;
    private int packageTypeID;
    private int hotelID;
    private int locationID;
    private int placeID;
    private float price;
    private String travel;
    private String description;
    private String images;
    private String fromdate;
    private String enddate;
    private Date fdate;
    private Date edate;
    

    public PackageTour(int packageTourID, int packageTypeID, int hotelID, int placeID, float price, String travel, String description, String images, Date fdate, Date edate, boolean available) {
        this.packageTourID = packageTourID;
        this.packageTypeID = packageTypeID;
        this.hotelID = hotelID;
        this.placeID = placeID;
        this.price = price;
        this.travel = travel;
        this.description = description;
        this.images = images;
        this.fdate = fdate;
        this.edate = edate;
        this.available = available;
    }

    public Date getEdate() {
        return edate;
    }

    

    public void setEdate(Date edate) {
        this.edate = edate;
    }

    public Date getFdate() {
        return fdate;
    }

    public void setFdate(Date fdate) {
        this.fdate = fdate;
    }
    private boolean available;
    private String packageTourName;

    public boolean isAvailable() {
        return available;
    }

    public String getPackageTourName() {
        return packageTourName;
    }

    public void setPackageTourName(String packageTourName) {
        this.packageTourName = packageTourName;
    }

    public void setAvailable(boolean available) {
        this.available = available;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public PackageTour(int packageTourID, int packageTypeID, int hotelID, int locationID, int placeID, float price, String travel, String description, String images, String fromdate, String enddate, boolean available, String packageTourName) {
        this.packageTourID = packageTourID;
        this.packageTypeID = packageTypeID;
        this.hotelID = hotelID;
        this.locationID = locationID;
        this.placeID = placeID;
        this.price = price;
        this.travel = travel;
        this.description = description;
        this.images = images;
        this.fromdate = fromdate;
        this.enddate = enddate;
        this.available = available;
        this.packageTourName = packageTourName;
    }

    public PackageTour() {
    }

    public String getFromdate() {
        return fromdate;
    }

    public void setFromdate(String fromdate) {
        this.fromdate = fromdate;
    }

    public int getHotelID() {
        return hotelID;
    }

    public void setHotelID(int hotelID) {
        this.hotelID = hotelID;
    }

    public String getImages() {
        return images;
    }

    public PackageTour(int packageTourID, int packageTypeID, int locationID, int placeID, float price, String travel, String description, String images, String fromdate, String enddate, boolean available) {
        this.packageTourID = packageTourID;
        this.packageTypeID = packageTypeID;
        this.locationID = locationID;
        this.placeID = placeID;
        this.price = price;
        this.travel = travel;
        this.description = description;
        this.images = images;
        this.fromdate = fromdate;
        this.enddate = enddate;
        this.available = available;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public int getLocationID() {
        return locationID;
    }

    public void setLocationID(int locationID) {
        this.locationID = locationID;
    }

    public int getPackageTourID() {
        return packageTourID;
    }

    public void setPackageTourID(int packageTourID) {
        this.packageTourID = packageTourID;
    }

    public int getPackageTypeID() {
        return packageTypeID;
    }

    public void setPackageTypeID(int packageTypeID) {
        this.packageTypeID = packageTypeID;
    }

    public int getPlaceID() {
        return placeID;
    }

    public void setPlaceID(int placeID) {
        this.placeID = placeID;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getTravel() {
        return travel;
    }

    public void setTravel(String travel) {
        this.travel = travel;
    }

    public PackageTour(int packageTourID, int packageTypeID, int hotelID, int locationID, int placeID, float price, String travel, String description, String images, Date fdate, Date edate, boolean available, String packageTourName) {
        this.packageTourID = packageTourID;
        this.packageTypeID = packageTypeID;
        this.hotelID = hotelID;
        this.locationID = locationID;
        this.placeID = placeID;
        this.price = price;
        this.travel = travel;
        this.description = description;
        this.images = images;
        this.fdate = fdate;
        this.edate = edate;
        this.available = available;
        this.packageTourName = packageTourName;
    }

}
